<% layout('/layouts/default.html', {title: '任务部署信息表-整理任务管理', libs: ['dataGrid']}){ %>
<div class="main-content">
	<div class="box box-main">
		<div class="box-body">
			<#form:form id="searchForm" model="${dcSupTaskInfoArrange}" action="${ctx}/arrange/dcSupTaskInfoArrange/listData?taskId=${dcSupTaskInfoArrange.taskId}" method="post" class="form-inline hide"
					data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}">
			</#form:form>
			<table id="dataGrid"></table>
			<div id="dataGridPage"></div>
		</div>
	</div>
</div>
<% } %>
<script>
// 初始化DataGrid对象
$('#dataGrid').dataGrid({
	searchForm: $("#searchForm"),
	sortableColumn: false, // 列表不允许排序
	columnModel: [
		{header:'${text("整理时间")}', name:'arrangeTime', index:'a.arrange_time', width:150, align:"center",
			formatter:'date', formatoptions:{srcformat:'Y-m-d H:i:s',newformat:'Y-m-d H:i'}},
		{header:'${text("最新进展情况")}', name:'arrangeContent', index:'a.arrange_content', width:150, align:"left"},
		{header:'${text("存在问题")}', name:'arrangeContent2', index:'a.arrange_content2', width:150, align:"left"},
		{header:'${text("拟采取的工作举措")}', name:'arrangeContent3', index:'a.arrange_content3', width:150, align:"left"},
		{header:'${text("整理人")}', name:'arrangeName', index:'a.arrange_name', width:120, align:"center"},
		{header:'${text("整理状态")}', name:'arrangeStatus', index:'a.arrange_status', width:120, align:"center"
			,formatter: function(val, obj, row, act){
				return js.getDictLabel(${@DictUtils.getDictListJson('dc_arrangeStatus')}, val, '${text("未知")}', true);
			}},
		{header:'${text("审核意见")}', name:'auditOption', width:150, align:"left"},
	],
	// 加载成功后执行事件
	ajaxSuccess: function(data){
		
	}
});
</script>